package org.jeecg.qis.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.basic.vo.MesOptionVO;
import org.jeecg.prod.entity.MesBomHeaderWo;
import org.jeecg.prod.entity.MesWoSrc;
import org.jeecg.qis.entity.QisProcrecord;
import org.jeecg.common.api.vo.Result;

import java.util.List;

/**
 * @Description: qis_procrecord
 * @Author: shaolong
 * @Date: 2023-05-21
 * @Version: V1.0
 */
public interface IQisProcrecordService extends IService<QisProcrecord> {

    IPage<QisProcrecord> pageList(Page<QisProcrecord> page, QisProcrecord qisProcrecord);

    Result<String> addRecord(QisProcrecord qisProcrecord);

    Result<String> createRecord(QisProcrecord qisProcrecord);

    Result<List<MesOptionVO>> queryOPListByWoid(String woid,String type);

    Result<List<MesBomHeaderWo>> getWoOption();

    void delMain(String checkNo);

    void updateRecordStatus(String s);
}
